#pragma once
#include "../Wil/WIL.h"
#include "cocos2d.h"
USING_NS_CC;


void LoadColorLevels();
void DrawBlend(cocos2d::Node* dsurface, int x, int y, TDXTextureSurface*  ssuf, int blendmode, RECTEX* rc = NULL, TColorEffect ceff = ceNone);
void DrawZoomBlend(TDXTextureSurface* dsuf, float x, float y, float ScaleX, float ScaleY, TDXTextureSurface*  ssuf, int blendmode);
void DrawBlendR(TDXTextureSurface* dsuf, int x, int y, Rect rect, TDXTextureSurface*  ssuf, int blendmode);
void DrawBlendpqdb(TDXTextureSurface* dsuf, int x, int y, Rect rect, TDXTextureSurface*  ssuf, bool MirrorX = false, bool MirrorY = false);
void DrawEffect(cocos2d::Layer* dsuf, int x, int y, TDXTextureSurface*  ssuf, TColorEffect eff, bool boBlend, int blendmode = 0);
void DrawZoomEffect(TDXTextureSurface* dsuf, float x, float y, float ScaleX, float ScaleY, TDXTextureSurface*  ssuf, TColorEffect eff, bool boBlend, int blendmode = 0);
//void DrawDeathColorDraw(TDXTextureSurface* dsuf, ITexture Texture, int Width, int Height, TColorEffect eff);
